//
//  MessageInputView.h
//  WeiYiMei
//
//  Created by 李叶夫 on 2019/4/29.
//  Copyright © 2019年 liyefu. All rights reserved.
//

#import "ANBaseView.h"

NS_ASSUME_NONNULL_BEGIN

@protocol MessageInputViewDelegate <NSObject>
@optional
- (void)keyboardWillShow:(CGFloat)keyboardHeight;
- (void)keyboardWillDismiss;
- (void)sendMessage:(NSString *)message;
- (void)messageInputViewDidChange:(CGFloat)minY;

- (void)moreFunctionDidSelectedPhoto;

// 点击加号(更多功能)
- (void)clickMoreFunction:(BOOL)enable;
// 点击emoji
- (void)clickEmojiFunction:(BOOL)enable;



@end

@interface MessageInputView : ANBaseView

@property (weak, nonatomic) id<MessageInputViewDelegate> delegate;

- (void)hideAll;
- (void)showMoreFunctionView;
- (void)showEmojiView;
- (void)showKeyboard;

@end

NS_ASSUME_NONNULL_END
